package com.aglhz.nature.presenter.base;

import org.greenrobot.eventbus.EventBus;

import android.content.Context;


public class BasePresenter {
	private Context context;
	
	
	

	public Context getContext() {
		return context;
	}

	public void setContext(Context context) {
		this.context = context;
	}

	public void register(){
		//event bus register
		EventBus.getDefault().register(this);
	}

	public void unregister(){
		//event bus unregister
		EventBus.getDefault().unregister(this);
	}
}
